-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add execution options for processor and prover #991
Conversation
c4e50f0
to
bac3fb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Looks good! This is not a full review yet - but I left some comments which will probably affect quite a few files.
7a57b4f
to
e410488
Compare
e410488
to
cc03814
Compare
cc03814
to
e7f1044
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Looks good! I left small comments inline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you! I left one small nit inline. Once this is resolved, we can merge.
air/src/options.rs
Outdated
/// Sets [ExecutionOptions] for this [ProvingOptions]. | ||
/// This sets the maximum number of cycles a program is allowed to execute as well as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we should add a blank line between the intro sentence and the rest of the comment. Otherwise, doc formatter will not format them well.
ff6d0dd
to
2dca4b9
Compare
2dca4b9
to
c61da48
Compare
This PR adds implementation and usage for the
ExecutionOptions
struct, used to limit the maximum number of cycles and set their estimated number. CLI was changed to parse new parameters for theExecutionOptions
.This is the preparatory PR, that is data in this struct is not used anywhere yet. The actual limitations will be implemented in the next PR.